<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no"/>
<meta name="HandheldFriendly"content="true"/>
<meta http-equiv="x-rim-auto-match" content="none"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no">
<title>登录注册</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="style/css/global.css" rel="stylesheet">
<link href="style/css/common.css" rel="stylesheet">
<script type="text/javascript" src="style/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="style/js/zepto.min.js"></script>
<script type="text/javascript" src="style/js/common.js"></script>
</head>

<body>
<div class="wrap">
	<!--头部-->
	<div class="header w_screen">
		<h1 class="title">登录/注册</h1>
		<a href="javascript:history.go(-1);" class="btn_left"><span class="ico_back"></span></a>
	</div>

	<!--主体-->
	<div class="main pad_header">
		<div class="logo">
			<dl>
				<dt><img src="style/images/logo.png"></dt>
				<dd>房妈妈，专注逼格拼租</dd>
			</dl>
		</div>

		<div class="login_form">
			<div class="item"><label>手机号码</label><div class="in_box"><input class="intxt" type="tel" maxlength="11" placeholder="你的手机号码" autocomplete="off"></div><a class="send_btn" href="javascript:conf()">发送验证码</a></div>
			<div class="item"><label>验证码</label><div class="in_box"><input class="intxt" type="text" placeholder="短信验证码" autocomplete="off"></div></div>
			<div class="btn_box"><input class="btn" type="submit" value="确认"></div>
      <p class ='about_us'><a href="">gunayuwomen</a></p>
			<div class="tell_btn"><a href="tel:0595-5931112"><i></i>&nbsp;&nbsp;客服热线&nbsp;&nbsp;0592-5931112</a></div>
		</div>
	</div>
</div>

<div class="wrap_bg w_screen"></div>
<script type="text/javascript">
	var flag =true;
  var secs =5;
  var jumpTo = $('.send_btn');
  var timer = null;
  function conf()
  {
    console.log(timer);
    jumpTo.text(secs+'秒后刷新'); 
    jumpTo.css('background','#999');

    timer = setInterval(function(){
      if(secs<=0){
        console.log(timer);
        clearInterval(timer);
        console.log(timer);
        jumpTo.text("发送验证码");
        jumpTo.css('background','#ec6877');

        return;
      }
      //var jumpTo = $('.send_btn');
      jumpTo.text(secs+'秒后刷新'); 
      --secs;
    },1000)
  }
</script>
</body>
</html>